package com.dk.service;

import com.dk.pojo.TBook;
import com.dk.vo.BookVo;
import com.github.pagehelper.PageInfo;

public interface BookService {
    PageInfo<BookVo> selectUser(TBook book, Integer pageNum, Integer pageSize);

    void addBook(TBook tBook);

    TBook toUpdateBook(Integer bookId);

    void updateBook(TBook tBook);

    void deleteBook(Integer bookId);

    void deleteBookAll(Integer[] ids);

    TBook getInfoById(Integer bookState);

    void update(TBook article);
}
